package com.sskj.mine.asset.data;

import com.sskj.lib.util.NumberUtil;
import com.sskj.lib.util.TimeFormatUtil;

import java.util.Date;

public class RecordsBean {


    /**
     * id : 8708
     * swiftNo : BI2019062216125209251190
     * stockUserId : 190
     * username : null
     * tel : null
     * code : USDT
     * bankCardNo : null
     * bankCardType : null
     * idCardNo : null
     * usdFee : 4000
     * fee : 4000
     * realFee : 4000
     * realUsdFee : 4000
     * exchangeRate : 0
     * chargeType : 2
     * payType : 1
     * withdrawStatus : 1
     * inspectorId : null
     * inspectReason : null
     * inspectTime : null
     * inspectStatus : 0
     * poundage : 5
     * createTime : 1561191172000
     * timestamp : 1561191240000
     * tranId : 0
     * walletAddr : mtxx9qH3VnZMesvEV4iy3FqHW1TadnZg6o
     * coStringype : 2
     * deleted : false
     */

    private String id;
    private String swiftNo;
    private String stockUserId;
    private String username;
    private String tel;
    private String code;
    private String bankCardNo;
    private String bankCardType;
    private String idCardNo;
    private String usdFee;
    private String fee;
    private String realFee;
    private String realUsdFee;
    private String exchangeRate;
    private String chargeType;
    private String payType;
    private String withdrawStatus;
    private String inspectorId;
    private String inspectReason;
    private String inspectTime;
    private String inspectStatus;
    private String poundage;
    private long createTime;
    private long timestamp;
    private String tranId;
    private String walletAddr;
    private String coStringype;
    private boolean deleted;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getSwiftNo() {
        return swiftNo;
    }

    public void setSwiftNo(String swiftNo) {
        this.swiftNo = swiftNo;
    }

    public String getStockUserId() {
        return stockUserId;
    }

    public void setStockUserId(String stockUserId) {
        this.stockUserId = stockUserId;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getTel() {
        return tel;
    }

    public void setTel(String tel) {
        this.tel = tel;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getBankCardNo() {
        return bankCardNo;
    }

    public void setBankCardNo(String bankCardNo) {
        this.bankCardNo = bankCardNo;
    }

    public String getBankCardType() {
        return bankCardType;
    }

    public void setBankCardType(String bankCardType) {
        this.bankCardType = bankCardType;
    }

    public String getIdCardNo() {
        return idCardNo;
    }

    public void setIdCardNo(String idCardNo) {
        this.idCardNo = idCardNo;
    }

    public String getUsdFee() {
        return NumberUtil.keepMax8(usdFee);
    }

    public void setUsdFee(String usdFee) {
        this.usdFee = usdFee;
    }

    public String getFee() {
        return fee;
    }

    public void setFee(String fee) {
        this.fee = fee;
    }

    public String getRealFee() {
        return realFee;
    }

    public void setRealFee(String realFee) {
        this.realFee = realFee;
    }

    public String getRealUsdFee() {
        return realUsdFee;
    }

    public void setRealUsdFee(String realUsdFee) {
        this.realUsdFee = realUsdFee;
    }

    public String getExchangeRate() {
        return exchangeRate;
    }

    public void setExchangeRate(String exchangeRate) {
        this.exchangeRate = exchangeRate;
    }

    public String getChargeType() {
        return chargeType;
    }

    public void setChargeType(String chargeType) {
        this.chargeType = chargeType;
    }

    public String getPayType() {
        return payType;
    }

    public void setPayType(String payType) {
        this.payType = payType;
    }

    public String getWithdrawStatus() {
        return withdrawStatus;
    }

    public void setWithdrawStatus(String withdrawStatus) {
        this.withdrawStatus = withdrawStatus;
    }

    public String getInspectorId() {
        return inspectorId;
    }

    public void setInspectorId(String inspectorId) {
        this.inspectorId = inspectorId;
    }

    public String getInspectReason() {
        return inspectReason;
    }

    public void setInspectReason(String inspectReason) {
        this.inspectReason = inspectReason;
    }

    public String getInspectTime() {
        return inspectTime == null ? "--" : TimeFormatUtil.SF_FORMAT_E.format(new Date(Long.valueOf(inspectTime)));
    }

    public void setInspectTime(String inspectTime) {
        this.inspectTime = inspectTime;
    }

    public String getInspectStatus() {
        return inspectStatus;
    }

    public void setInspectStatus(String inspectStatus) {
        this.inspectStatus = inspectStatus;
    }

    public String getPoundage() {
        return poundage;
    }

    public void setPoundage(String poundage) {
        this.poundage = poundage;
    }

    public String getCreateTime() {
        return TimeFormatUtil.SF_FORMAT_E.format(new Date(Long.valueOf(createTime)));
    }

    public void setCreateTime(long createTime) {
        this.createTime = createTime;
    }

    public long getTimestamp() {
        return timestamp;
    }

    public void setTimestamp(long timestamp) {
        this.timestamp = timestamp;
    }

    public String getTranId() {
        return tranId;
    }

    public void setTranId(String tranId) {
        this.tranId = tranId;
    }

    public String getWalletAddr() {
        return walletAddr;
    }

    public void setWalletAddr(String walletAddr) {
        this.walletAddr = walletAddr;
    }

    public String getCoStringype() {
        return coStringype;
    }

    public void setCoStringype(String coStringype) {
        this.coStringype = coStringype;
    }

    public boolean isDeleted() {
        return deleted;
    }

    public void setDeleted(boolean deleted) {
        this.deleted = deleted;
    }
}
